package com.lemon.cloud.admin.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class RoleDTO implements Serializable {
    /**
     * 角色id
     */
    @Schema(description = "角色id")
    @NotNull(message = "角色id不能为空")
    private Long roleId;

    /**
     * 菜单列表
     */
    @Schema(description = "菜单列表")
    private String menuIds;

    @Schema(description = "数据权限")
    private String datas;
}
